package cn.weekimwee.firstlineofcodeforkotlin.unit2

import android.os.Bundle
import cn.weekimwee.firstlineofcodeforkotlin.BaseActivity
import cn.weekimwee.firstlineofcodeforkotlin.R
import kotlinx.android.synthetic.main.activity_third.*

/**
 * Created by Wee Kim Wee on 2018/2/8.
 */
class FifthActivity :BaseActivity(){

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_third)
        text.text = this@FifthActivity::class.java.name
        button.setOnClickListener { finish() }
    }
}